package com.ys.ffms.pojo.PO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @Description: user数据持久层
 * @PROJECT_NAME: ffmsService
 * @DESCRIPTION:
 * @USER: lin
 * @DATE: 2022/1/12 18:12
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class UserPO {
    private Integer id;
    private String name;
    private String sex;
    private Integer age;
    private String userId;
    private String password;
    private String identity;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date outTime;
}
